//-----------------------------------------------------------------------------
// Advanced Water - Common Definitions
//-----------------------------------------------------------------------------


#if ADVANCEDWATER_ID == ADVANCEDWATER_TYPE_SURFACERENDER
	#define OUTPUT_TEXCOORD0
	#define OUTPUT_TEXCOORD1
	#define OUTPUT_TEXCOORD2
	#define OUTPUT_TEXCOORD3
	#define OUTPUT_TEXCOORD4
	#define OUTPUT_TEXCOORD5
	#define OUTPUT_TEXCOORD6
#endif




struct VSOUT
{
#ifndef PIXEL_SHADER 
    float4 Position         : POSITION;
#endif

#if defined(OUTPUT_TEXCOORD0)
    float4 Wave0			: TEXCOORD0;
#endif

#if defined(OUTPUT_TEXCOORD1)
    float4 Wave1			: TEXCOORD1;
#endif

#if defined(OUTPUT_TEXCOORD2)
    float4 Wave2			: TEXCOORD2;
#endif

#if defined(OUTPUT_TEXCOORD3)
    float4 Wave3			: TEXCOORD3;
#endif

#if defined(OUTPUT_TEXCOORD4)
    float4 Eye				: TEXCOORD4;
#endif

#if defined(OUTPUT_TEXCOORD5)
    float4 ScreenPos        : TEXCOORD5;
#endif

#if defined(OUTPUT_TEXCOORD6)
    float3 Light			: TEXCOORD6;
#endif
};
